home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
comm
/
bbs
/
maxsutils.lha
/
MaxUtils
/
MaxiText24.lha
/
Maxi-Text.docs
< prev
next >
Wrap
Text File
|
1993-09-09
|
10KB
|
242 lines
Maxi-Text Version 2.4 by Robert Masters for MAXsBBS 1.52
KickStart Release 36+ Only !
Notes on Version 2.0:
Old config files (before version 2.0) are now useless and should be deleted.
Old template files will need to be fixed, previous versions loaded a new
name ect. when the name function was called, to fix these, you should
place a '+' function before the name function.
All processing in done in memory now, so Maxi-Text will run many times
faster than before. All sorting functions optimized.
As of this release differant versions of the program are included for
various processor types.. This was due to tha fact that MaxiText needs
every bit of speed it can get, and was slowing systems doen with it's
processing. Use the following versions for your processor type:
68000 / 68010 : Maxi-Text
68020 / 68030 : Maxi-Text.020
68040 / 68060 : Maxi-Text.040 (68040.library must be present)
I suggest you look at the new line duplicating functions, these make
template much easier to create and maintain, and by using the duplicate
functions you wil increase parsar speed.
Maxi-Text works similar to the way you can insert special characters
using the '%' symbol into MAXsBBS text files. This program allows for
more flexability to let you creat your own 'Top Ten' lists or last
users.
Maxi-Text, unlike other 'Top Ten' type programs, lets you design the
screen, and by using functions like - ╗(tun:20), you can insert the name
of the top uploader. There are some examples of how to use this program
in the archive. To use the insert functions, read the Maxi-Text.insert
file.
Maxi-Text doesn't limit you to just the top ten, you can go as far as a
top thirty in this release. And because Maxi-Text allows you to format
the output, you can specify the size of most of the output strings.
You can use this program in a logoff script, or shell, to change any text
template into a 'Top Ten'. With Maxi-Text, you can still use the MAXsBBS
formating commands like '%Z' for a pause, as they will be passed through
the parser. If you run a multi-line bbs, you can choose differant
configurations to use, just from the program arguments.
*How to use this great program -
---------------------------------------------------------------------------
Maxi-Text [from] template [to] text-file [[using] config]
eg:
Maxi-Text from BBS:Template/TopUser to BBS:Text/TopUser
or
Maxi-Text from BBS:Template/TopUser to BBS:Text/
To transform Template/TopUser into Text/TopUser
or
Maxi-Text BBS:Template/ BBS:Text/
To transform all files in BBS:Template/ to BBS:Text/
The commands in the brackets are optional, here is an explanation of
each argument..
Template: this is the basic text file with all the functions written in,
it should be designed by you for a custom screen. You may include any
valid text character, ANSI sequence, or MAXsBBS insert command. You may
also put a path name here, and all the text in the path will be scanned
and copied to the second path. If you do use a path, make sure that the
output is also a path.
Text-File: this is what will be produced after you run Maxi-Text. You
may enter a directory name here, or any suitable path with an ':' or '/'
extention, and the output file will use the same name as the input. If
if you are using a path for the input, the same name will be used from
the input path.
Options-File: If you specify no argument, the default S:Maxi-Text.config
will be used, but if you run on multi-line, or use differant
MAXsBBS.config files, you may wish to specify a differant file. If you
only specify a pathname, 'Maxi-Text.config' will be appended.
*Configuration
---------------------------------------------------------------------------
Before you use Maxi-Text, you must configure it. Use the following
arguments -
Maxi-Text -c [from] [input config] [to] [output config]
Input Config is the name of the MAXsBBS.config file you are using, if
it's name is simply MAXsBBS.Config, you can leave it blank. If this is
the case, you must leave the next field blank also. If the config uses
the standard MAXsBBS.config file, but is in a differant directory, you
may just use the directory name. If you only specify a pathname,
'MAXsBBS.Config' will be appended.
Output Config is the name of the config file that Maxi-Text uses, if you
run only one line, then you may use the default S:Maxi-Text.config or
leave the field blank. If you only specify a pathname, 'Maxi-Text.config'
will be appended.
Section and Access Exclusion:
You may to have only some access levels included in the list, if this is
the case answer yes, and you will be prompted for a low and high access
level to include. To keep co-sysops and sysops out of the list, enter
1 to 4999, or to only keep sysops out of the list use 1 to 9999.
Users with access 0 (cut-off) are automaticly excluded from the output
lists. The access restrictions do not apply to 'Top Cps', 'Last User' or
'Top File' because of the overhead required to check.
You may exclude upto 20 sections from the output lists from here,
you will be prompted if you want to exclude any sections. If you do,
enter upto 20 sections, or enter 0 when you have finished. This only
applys to the 'Top File' and 'Top Message' lists.
Other than checking each user against the user.data, there is no quick
way to check access for 'Last User' or 'Top CPS', if you have a need for
this function, let me know.
Update Options:
You will be asked if you wish to always update the CPS list. Because the
CPS is read from a text file, rather than a data file, it is likly that
you will delete it occaisionly. If this is the case, and you don't
want to loose the Top CPS list from that text file, answer no. If you
prefer that the CPS list is restarted every time, answer yes.
The next option is for the Top File lists. Because the file.data will
usually be the largest, and most time consuming to scan, this option
sets whether the file.data is always rescanned, or only when the active
files has been changed (ie: uploading or deleting). If you answer yes,
the data will always be rescanned. By answering no, the data is only
rescanned when a file has been uploaded or deleted, this results in a
faster update time, but less accuracy, as there may be several downloads
that won't be detected until the data is rescanned.
As the message.data tends to be the largest file, you may elect not to
use it at all if you wish, or you can use it, but not update it until
the active messages has changed (see above).
All data is automaticly updated after a configuration.
*Updating
---------------------------------------------------------------------------
Maxi-Text stores all the 'Top Ten' data in the config file. To save a
disk access time, it is only updated when you want it to be. You could
do this every time in the logoff script, or only once a day. To do this
use the following arguments -
Maxi-Text -r [using] [config]
Config is the name of the config file you wish to have updated, if you
are using the default S:Maxi-Text.config, you may leave it blank. If
you only use a pathname here, 'Maxi-Text.config' will be appended.
The update operation may take several minutes to complete, as all the
user and file data must be scanned. If you have a cached cpu, the
operation will only take around 2 minutes to complete, 68000 can take
considerably longer.
You will need around 512K of free memory for every 10,000 files in the
file.data, and the same goes for messages if you are using the
functions. Memory may become fragmented after use, if it is bad under
your system, run 'Sweep' after this program.
Maxi-Text also allows the use of a 'Last Users' list, this is not kept
in the config file, as it will change constantly. The Log.Data will be
read as neccasary. The other use of the 'Last Users' list is that you
are not limited to 20 users, but as far you like. Or you can have a
continuous list of the days users. See the insert docs for more
information.
Notes:
1.0 - First release, no bugs as yet....
1.1 - Fixed bug where nulls were passed after strings. This version now also
handles directory scanning.
1.2 - Sorry, Maxi-Text needed a larger stack size than default, now uses
extended stack code. Thanks to a sysop in the 'Gong for that one.
2.0 - Redesigned the script language and added some new functions.
2.1 - Improved the sorting function to avoid duplicate entries,
previously a user could have had his name more than once in the
top cps lists, this is now fixed and only their top rating is
kept. New list generation date functions added, thanks to Randy
Quick for that (I saw yours had them, so I thought I had better
put them in 8^) ).
2.2 - Duplicate name bug definatly gone now !! All dates are now output
correctly and uses a new sort method that runs around 3 times
faster than before. Top CPS now allows duplicate names..
2.3 - Removed Enforcer hits and updated some templates.
2.4 - Innocent memory could be trashed on rare occaisions when the file
description was longer than 59 chars. Thanks to Steve Norton 8^)..
The 020+ version is back from this release..
I consider this program my best to date, so I will appreciate any bugs,
big or small, and any ideas you have, as I would like to continue to
update Maxi-Text.
Thanks to Norbert Feist for Beta testing this program.
Thanks to Steve Norton for Beta testing this program.
For bug-reports and updates, call The Nut Factory BBS.
V.22 V.22bis (02) 822-5613
! RingDown ! V.32 V.32bis V.42 V.42bis (02) 822-4366
HST14.4K DS V.42 V.42bis (02) 822-5329